package mypage;

import java.io.*;
import common.db.*;
import common.main.*;

public class OrderCancelBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String id = (String)inputTable.get("id");
		String seq = (String)inputTable.get("seq");

		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE MAGIC SET ORDER_STATE='4', UPD_ID='"+id+"', UPD_DATE=SYSDATE WHERE ID='"+id+"' AND SEQ='"+seq+"'");

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
